package com.youthHostel.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.youthHostel.pojo.logistics;

public interface LogisticsService {

	PageInfo<logistics> findAll(int index);
	
	List<logistics> findByName(String name,int index);

	int deleteByPrimaryKey(Integer id);

	int insert(logistics record);

	logistics selectByPrimaryKey(Integer id);

	int updateByPrimaryKey(logistics record);

	List<logistics> selectAll();
}
